#include "types.h"
#include <Ogre/OgreImageCodec.h>
//#include <Ogre/OgreDataStream.h>

namespace sgp
{
	//! STCI Image codec
	class STCIImageCodec : public Ogre::ImageCodec
	{
		// Operations
	private:
		//! See base.
		virtual DecodeResult decode(Ogre::DataStreamPtr  &input) const;
		//! See base.
		virtual Ogre::String getType() const;
	};
}

BOOLEAN LoadSTCIFileToImage( HIMAGE hImage, UINT16 fContents );

BOOLEAN IsSTCIETRLEFile( CHAR8 * ImageFile );
